package cc.wfu.type.config;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description Redission 分布式 redis 连接配置
 * <a href="https://github.com/redisson/redisson/tree/master/redisson-spring-boot-starter">
 *     redisson-spring-boot-starter
 * </a>
 */
@Data
@Component
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties("auth.sdk.redis")
public class RedisClientConfigProperties {

    /** host:ip */
    private String host;
    /** 端口 */
    private int port;
    /** 账密 */
    private String password;

}
